<?php
/*
+--------------------------------------------------------------------------
|   thinkask [#开源系统#]
|   ========================================
|   http://www.thinkask.cn
|   ========================================
|   如果有兴趣可以加群{开发交流群} 485114585
|   ========================================
|   更改插件记得先备份，先备份，先备份，先备份
|   ========================================
+---------------------------------------------------------------------------
 */
return [
    '__pattern__' => [
        'name' => '\w+',
    ],
    //  '__alias__' =>  [
    //    'article'  =>  ['article/index/index',['ext'=>'html']],
    // ],
    
    // 添加路由规则 路由到 index控制器的hello操作方法
    // 'hello/:name' => 'index/index/hello',
   	// 'article/ajax/*' => 'article/ajax/*',
    'question/admin/list' => ['question/admin/list'],
    'question/post/edit' => ['question/post/edit'],
    'question/[:id]' => ['question/index/index/',['method'=>'get']],

    'article/admin/list' => ['article/admin/list'],
    'article/post/edit' => ['article/post/edit'],
    'article/[:id]' => ['article/index/index',['method'=>'get','id'=>'\d+']],

    'plus/[:plusname]/[:controller]/[:action]' => ['index/plus/index'],




    'people/[:id]' => ['people/People/index/',['method'=>'get']],
    'people' => ['people/People/people_list/',['method'=>'get']],
];
